Script: --on mouseUp wdID,wdName,objNo,objName,objValue┬get wsGet(wdID,"text","SelectionText")┬put it into texter┬get wsGet(wdID,"text","Text")┬put it into wholeText┬if (texter<>empty) and ("Ñ" is not in texter) then -- proceed┬ if ">" is not in texter then┬ put the number of words of texter into num┬ put word 1 to (num-1) of texter into itemname┬ lock screen┬ go cd itemname┬ unlock screen with iris open fast┬ wsSet wdID,"0","TopLeft", "5,40"┬ else -- clicked on subdetail┬ put findLine(texter,wholeText) into liner┬ repeat with x=(liner-1) down to 1┬ if ">" is not in line x of wholeText then -- found main detail cd┬ put line x of wholeText into tester┬ put the number of words of tester into num┬ put word 1 to (num-1) of tester into itemname┬ lock screen┬ go cd itemname┬ unlock screen with iris open fast┬ wsSet wdID,"0","TopLeft", "5,40"┬ exit repeat┬ end if┬ end repeat┬ end if┬end if┬--end mouseUp┬
ItemType: TEXT
Rect: 8,99,227,112
TextFont: Geneva
TextSize: 10
Name: instructions
TextAlign: Center
Text: Click on a detail to go to its information card